#include<iostream>

using namespace std;
char S[101];
char h[]="hello";
char *cur,*aim;
bool Flag=0;
int main()
{  
    gets(S);
    cur = S;
    aim = h;
    
    while (*cur)
    {
        if(!*aim){
            Flag = 1;
            break;}
        if(*aim == *cur){aim++; }
        cur++;
    }
    puts(Flag?"Yes":"No");
    return 0;
}
